package cn.huiyunche.base.service.interfaces;

import cn.huiyunche.base.service.model.DUserExt;
import cn.huiyunche.base.service.model.DUserExtExample;

import java.util.List;

/**
 * Created by jxy on 16/12/12.
 */
public interface DUserExtService {

    /**
     * Insert selective int.
     *
     * @param dUserExt the d user ext
     * @return the int
     */
    public int insertSelective(DUserExt dUserExt);

    /**
     * Delete by user id int.
     *
     * @param userId the user id
     * @return the int
     */
    public int deleteByUserId(Long userId);

    /**
     * Select by example list.
     *
     * @param example the example
     * @return the list
     */
    List<DUserExt> selectByExample(DUserExtExample example);

    /**
     * Update by primary key selective int.
     *
     * @param record the record
     * @return the int
     */
    public int updateByPrimaryKeySelective(DUserExt record);

    /**
     * Select by user id d user ext.
     *
     * @param dUserId the d user id
     * @return the d user ext
     */
    DUserExt selectByUserId(Long dUserId);

    /**
     * select by idCard d user ext
     *
     * @param idCard
     * @return
     */
    public String selectByIdCard(String idCard);


}
